package cn.lili.modules.system.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.search.entity.dos.HotWordsHistory;
import cn.lili.modules.system.client.HotWordsHistoryClient;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author paulG
 * @since 2022/7/1
 **/
public class HotWordsHistoryFallback implements HotWordsHistoryClient {

    @Override
    public boolean saveBatch(List<HotWordsHistory> hotWordsHistories) {
        throw new ServiceException();
    }
}
